package com.yunxin.core.domain.model.merchant;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface MerchantInvoiceInfoRepository {

    /**
     * 保存
     * @param merchantInvoiceInfo merchantInvoiceInfo
     * @return boolean
     */
    boolean saveMerchantContactPerson(MerchantInvoiceInfo merchantInvoiceInfo);

    /**
     * 更新
     * @param merchantInvoiceInfo merchantInvoiceInfo
     * @return boolean
     */
    boolean updateMerchantContactPerson(MerchantInvoiceInfo merchantInvoiceInfo);


    /**
     * 根据商户id逻辑删除商户发票
     * @param editor editor
     * @param merchantId merchantId
     * @return int
     */
    boolean updateMerchantInvoiceInfoDelPersonByMerchantId(String editor, Long merchantId);
}
